package com.gy.niuer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.springframework.context.annotation.Bean;

import java.io.Serializable;

/**
 * 
 * @TableName patient
 */
public class Patient implements Serializable {
    /**
     * 
     */
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String name;

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    /**
     * 
     */
    private String idCard;

    /**
     * 
     */
    private String phone;

    /**
     * 
     */
    private String state;

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getName() {
        return name;
    }

    /**
     * 
     */
    public void setName(String name) {
        this.name = name;
    }


    public String getPhone() {
        return phone;
    }

    /**
     * 
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 
     */
    public Object getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

}